package com.sde.Enum;

/**
 * 响应码枚举
 */
public enum ResponseCodeEnum {

    USER_IS_NOT_EXISTS(2001,"用户不存在"),
    USER_IS_EXISTS(2002,"用户已存在"),
    PASSWORD_ERROR(2003,"密码错误"),
    NOT_TOKEN(2004,"token不存在"),
    USERID_IS_NOT_EXISTS(2005,"用户id不存在"),
    PWD_AND_REPWD_IS_NULL(2006,"密码和确认密码为空");



    int code;
    String message;

    ResponseCodeEnum(int code,String message) {
            this.code = code;
            this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
